" Preamble {{{
" ==============================================================================
"        File: NERDTree.vim
" ------------------------------------------------------------------------------
"     Authors: Alexander Shukaev <AlexanderShukaev@gmail.com>
" ------------------------------------------------------------------------------
" Maintainers: Alexander Shukaev <AlexanderShukaev@gmail.com>
" ------------------------------------------------------------------------------
"  Copyrights: (C) 2013, Alexander Shukaev <AlexanderShukaev@gmail.com>
" ------------------------------------------------------------------------------
"     License: This program is free software: you can redistribute it and/or
"              modify it under the terms of the GNU General Public License as
"              published by the Free Software Foundation, either version 3 of
"              the License, or (at your option) any later version.
"
"              This program is distributed in the hope that it will be useful,
"              but WITHOUT ANY WARRANTY; without even the implied warranty of
"              MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
"              General Public License for more details.
"
"              You should have received a copy of the GNU General Public License
"              along with this program. If not, see
"              <http://www.gnu.org/licenses/>.
" ==============================================================================
" }}} Preamble

let g:NERDTreeMapOpenSplit  = ''
let g:NERDTreeMapOpenVSplit = ''

let g:NERDTreeMapToggleZoom   = 'z'
let g:NERDTreeMapToggleHidden = 'h'

let g:NERDTreeMapOpenInTab       = ''
let g:NERDTreeMapOpenInTabSilent = ''

let g:NERDTreeMapQuit = 'q'

let g:NERDTreeMapDeleteBookmark = 'k'

let g:NERDTreeQuitOnOpen    = 1
let g:NERDTreeShowHidden    = 1
let g:NERDTreeShowBookmarks = 1

let g:NERDTreeWinPos  = 'left'
let g:NERDTreeWinSize = 32

if has('gui_running')
  let g:NERDTreeDirArrows = 1
else
  let g:NERDTreeDirArrows = 0
endif

let g:NERDTreeChDirMode = 2

let g:NERDTreeIgnore = ['^\.$', '^\.\.$']

let g:NERDTreeBookmarksFile = expand('~/.cache/NERDTree/bookmarks', 1)

nnoremap <Leader>n  :NERDTreeToggle<CR>
nnoremap <Leader>tt :NERDTreeToggle<CR>

" Modeline {{{
" ==============================================================================
" vim:ft=vim:fenc=utf-8:ff=unix:fdm=marker:ts=2:sw=2:tw=80:et:
" ==============================================================================
" }}} Modeline
